import Vue from 'vue'
import Router from 'vue-router'
//router.js导入生成好的路由规则
import routeList from "./generateRoutes.js";
Vue.use(Router)
const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  ...routeList,
]
const router = new Router({
  routes,
});
export default router
